package com.gears_software.sxdc.dccx.data.model;

import com.bigkoo.pickerview.model.IPickerViewData;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by chezhenzhen on 2017/8/3.
 */

public class LineInfoModel implements Serializable, IPickerViewData {


    /**
     * id : 123456
     * startpoint : 太原
     * endpoint : 清徐
     * direction : 1
     * fee : 15,20,25,30
     */
    private String id;
    private String startpoint;
    private String endpoint;
    private int direction;
    private String fee;
    private String delaydisplay;

    public String getDelaydisplay() {
        return delaydisplay;
    }

    public void setDelaydisplay(String delaydisplay) {
        this.delaydisplay = delaydisplay;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStartpoint() {
        return startpoint;
    }

    public void setStartpoint(String startpoint) {
        this.startpoint = startpoint;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }


    @Override
    public String getPickerViewText() {
        return this.startpoint + " 到 " + this.endpoint;
    }
}
